from control import tf
from control import zero, pole
from control import pzmap

import matplotlib.pyplot as plt

num = [1,4]
den = [1,3,2]
Gs = tf(num,den)

print(Gs)

z = zero(Gs)
p = pole(Gs)

print('zeros:',z)
print('poles:',p)

pzmap(Gs)
plt.show()